<template>
    <a-result status="404" title="404">
        <template #extra>
            <a-button type="primary" @click="$router.push({ name: getGotoRouteName() || '/login' })">返回首页</a-button>
        </template>
    </a-result>
</template>
<script lang='ts' setup>
import { getGotoRouteName } from '@/utils/user';
</script>
<style>
svg
    g
    path[d="M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48"] {
    fill: var(--primary-color-base);
}
</style>